package cn.iocoder.yudao.module.cmt.controller.admin.person.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;
import java.math.BigDecimal;

@Schema(description = "管理后台 - 人员信息新增/修改 Request VO")
@Data
public class PersonInfoSaveReqVO {

    @Schema(description = "人员ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "23019")
    private Long id;

    @Schema(description = "社区ID", example = "18640")
    private Long communityId;

    @Schema(description = "关联会员ID(可为空，表示非会员)", example = "23019")
    private Long userId;

    @Schema(description = "与会员关系：0本人 1家人 2朋友 3其他", example = "0")
    private Integer relationType;

    @Schema(description = "真实姓名", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @NotEmpty(message = "真实姓名不能为空")
    private String realName;

    @Schema(description = "身份证号", example = "320106199001011234")
    private String idCard;

    @Schema(description = "手机号", example = "13800138000")
    private String phone;

    @Schema(description = "性别：0未知 1男 2女", example = "1")
    private Integer gender;

    @Schema(description = "生日", example = "2000-01-01")
    private Date birthday;

    @Schema(description = "年龄", example = "25")
    private Integer age;

    @Schema(description = "学历", example = "本科")
    private String education;

    @Schema(description = "职业", example = "软件工程师")
    private String occupation;

    @Schema(description = "地址", example = "北京市朝阳区")
    private String address;

    @Schema(description = "头像", example = "https://www.iocoder.cn/xx.png")
    private String avatar;

    @Schema(description = "人员类型：1普通居民 2志愿者 3师资 4社区干部", example = "2")
    private Integer personType;

    @Schema(description = "志愿者等级：0非志愿者 1一星 2二星 3三星 4四星 5五星", example = "1")
    private Integer volunteerLevel;

    @Schema(description = "志愿者称号", example = "优秀志愿者")
    private String volunteerTitle;

    @Schema(description = "累计服务时长(小时)", example = "100.5")
    private BigDecimal totalServiceHours;

    @Schema(description = "累计参与活动数", example = "50")
    private Integer totalActivities;

    @Schema(description = "状态：0停用 1启用", example = "1")
    private Integer status;

    @Schema(description = "备注", example = "随便")
    private String remark;

}
